package pasantias.Dominio;

import java.util.List;

public class InmutableBoard {

	protected final int width;
	protected final int height;
	
	
	private final List<Figura> figuras;

	public InmutableBoard(int width, int height, List<Figura> list) {
		this.height = height;
		this.width = width;
		this.figuras = list;
	}

	public String getDimensions() {
		return width + " " + height;
	}

	public int getWidth() {
		return this.width;
	}

	public int getHeigh() {
		return this.height;
	}

	public void draw(BoardRender render){
		render.draw(this);
	}

	public List<Figura> getFigures() {
		return figuras;
	}
}
